<template>
	<div>
  <div class="div1">
  	<ul class="ul1">
  		<li v-for="item in ul1">{{item}}</li>
  	</ul>
  	<ul class="ul2">
  		<li @click="login">登录</li>
  		<li @click="register">注册</li>
  		<li @click="login">消息通知</li>
  	</ul>
  	<span class="sp1" @click="changeto">购物车&nbsp;(0)</span>
  </div>
  </div>
</template>

<script>
	export default{
    name:"head1",
		data(){
			return{
          ul1:["小米商城","MIUI","loT","云服务","金融","有品","小爱开放平台","企业团购","资质证明","协议规则","下载app","Selelct Location"]
			}
		},
		components:{

		},
		methods:{
      login(){
        this.$router.push({name:"login"})
      },
      register(){
        this.$router.push({name:"register"})
      },
      changeto(){
        this.$router.push({name:"shopcar"})
      }
		}
	}
</script>

<style scoped="scoped">
 @import url("../assets/style/xiao.css");
</style>
